package com.t.bricks.bussiness.db.dao.vacation;

import com.t.bricks.bussiness.db.dao.common.BaseDao;
import com.t.bricks.bussiness.db.entity.vacation.Vacation;
import com.t.bricks.model.MsgEmity;

public interface VacationDao<T> extends BaseDao<T> {

	/**
	 * 检查待新增内容是否存在重复数据
	 * @Param vacation
	 * @return MsgEmity
	 */
	MsgEmity checkRepeatByAdd(Vacation vacation);

	/**
	 * 修改状态
	 * @param vacation
	 * @return MsgEmity 返回执行情况
	 */
	MsgEmity changeState(Vacation vacation);

}
